/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package marifnst.jse71.working_with_methods_and_encapsulation;

/**
 *
 * @author arifnasution
 */
public class ApplyAccessModifiers
{
    // access modifier in java
    // private
    // public
    // protected
    
    // sample private access
    private int samplePrivateField;

    // sample public access
    public int getSamplePrivateField()
    {
        return samplePrivateField;
    }

    // sample public access
    public void setSamplePrivateField( int samplePrivateField )
    {
        this.samplePrivateField = samplePrivateField;
    }
}
